package com.ttbj.product.api;

import com.ttbj.product.bean.dto.OrderDto;
import com.ttbj.product.bean.dto.PassiveScanQRCodeDataDto;
import com.ttbj.product.bean.dto.ViewData;

public interface PayFacade {
	
	 /**
	  * 小程序缴纳物流费
	  * @param rootPath	回调
	  * @param orderDto 订单编号
	  * @param amount  钱数
	  * @param webOrderNum 网络订单号
	  * @throws Exception
	  */
	public  ViewData appletPay(String rootPath,OrderDto orderDto,Float amount,String openId) throws Exception;

	
	/**
	 * 支付物流费用回调的处理(小程序缴纳物流费的回调)
	 * @param orderNum
	 * @param openId
	 * @param longFre
	 * @param webOrderNum
	 * @throws Exception 
	 */
	public OrderDto appletNotify(String orderNum, String openId, String longFre, PassiveScanQRCodeDataDto data) throws Exception;

	
	public ViewData appPay(String rootPath,OrderDto orderDto,Float amount,String openId);
	
	
	public OrderDto  appNotify(String orderNum, String openId, String longFre,Long id);
	
	
}
